const http = require('http');

http.createServer((req, res) => {
  console.log(req.headers);

  res.setHeader('access-control-allow-origin', '*');

  // res.setHeader('access-control-allow-origin', '*');

  res.write('{ name : "zhangzibo", age : 18}');
  res.end()


}).listen(9123)